<div id="fc2_<%=flashcard.id%>" onclick="<%= remote_function(:update => "fc_"+flashcard.id.to_s,
      :url => { :controller => :flashcards, :action => :edit_ajax, :id=>flashcard.id }) %>">

<div>
  <div class="double">
    <div class="front side"><p><%=h flashcard.question %></p></div>
    <div class="back side"><p><%=h flashcard.answer %></p></div>
  </div>
</div>
</div>